
export default {

    //注册
    USER_REGISTER : body =>( ['POST','/user/register',body] ),
    //登录
    USER_LOGIN : body =>(['POST','/user/login',body]),
    //用户信息查询
    USER_SEARCH: body =>(['POST','/user/search',body]),
    //用户信息提交
    USER_EDIT: body =>(['POST','/user/edit',body]),
    //退出
    LOGIN_OUT : () =>( ['GET','/user/loginout'] ),  
    
    //健康列表
    LIST_HEALTH :body =>( ['POST','/list/health',body]), 
    //健康列表详情
    HEALTH_DATAIL:body =>( ['POST','/list/detail',body]), 
    //健康列表提交
    HEALTH_SUBMIT:body =>( ['POST','/list/add',body]), 

    //预约订单列表
    LIST_PAY: body => ( ['POST','/list/buy',body] ),
    //口罩店铺查询
    SHOP_SEARCH: body => ( ['POST','/list/shop',body] ),
    //提交预约订单
    ORDER_ADD: body => ( ['POST','/list/orderadd',body] ),  
    //取消订单
    ORDER_CANCEL: body => ( ['POST','/list/ordercancel',body] ),  

    //校验是否登录
    IS_LOGIN_IN:()=>(['GET','/list/loginin'])


}